package com.huawang.mdesign.model.service.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Description 显示关联元素Vo
 * @Date 2022/4/13
 * @Author baibf
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class RelatedElementVo {
    @Schema(title = "当前元素")
    private String instanceId;

    @Schema(title = "当前元素层级")
    private Integer elementLevel = 1;

    @Schema(title = "入方向相关元素")
    private List<DirectionRelatedElement> incomingRelatedElements;

    @Schema(title = "出方向相关元素")
    private List<DirectionRelatedElement> outgoingRelatedElements;
}
